import axios from 'axios'

class Banner {
  static async getHomeBannerB1 () {
    const url = '/frontend/banner/name/b-1'
    const result = await axios.get(url)
    return result.data
  }

  static async getHomeBannerB2 () {
    const url = '/frontend/banner/name/b-2'
    const result = await axios.get(url)
    return result.data
  }
}
export {
  Banner
}
